package abstract_;

/**
 * @author wly
 * @create 2022-12-05 17:19
 */
public class AbstractExercise01 {
    public static void main(String[] args) {
        Manager m1 = new Manager("张三", 1, 999);
        m1.setBonus(6666);
        m1.work();

        CommonEmployee c1 = new CommonEmployee("tom", 2, 789);
        c1.work();
    }
}
